package com.example.mybatis_.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.stream.Stream;

/**
 *  使用AR要继承model
 */
@Data
public class Dept extends Model{

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String mobile;

    private String manager;

}
